﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace equinox_proto
{
    public partial class Home : Form
    {
        public Home()
        {
            InitializeComponent();
        }

        private void facturacionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Controls.Remove(this.formPanel);
            this.formPanel = new FacturacionForm1Panel(this);
            ((FacturacionForm1Panel)this.formPanel).Padre = this;
            this.Controls.Add(formPanel);

        }

        private void clientesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Controls.Remove(this.formPanel);
            this.formPanel = new ClientePanel(this);
            this.Controls.Add(formPanel);
        }

    }
}
